export default {
  install (Vue, options) {
    Vue.prototype.$goto = function (url, data) {
      this.$router.push({path: url, query: data})
    }
  }
}
